package com.erp.itm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.erp.itm.dao.PaytypeDao;
import com.erp.itm.domain.PaytypeDO;
import com.erp.itm.service.PaytypeService;
@Service
public class PaytypeServiceImpl implements PaytypeService {
	@Autowired
	private PaytypeDao paytypeDao;
	
	@Override
	public PaytypeDO get(Long id){
		return paytypeDao.get(id);
	}
	
	@Override
	public List<PaytypeDO> list(Map<String, Object> map){
		return paytypeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return paytypeDao.count(map);
	}
	
	@Override
	public int save(PaytypeDO paytype){
		return paytypeDao.save(paytype);
	}
	
	@Override
	public int update(PaytypeDO paytype){
		return paytypeDao.update(paytype);
	}
	
	@Override
	public int remove(Long id){
		return paytypeDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return paytypeDao.batchRemove(ids);
	}
	
}
